package com.label.Model.Query;

import com.baomidou.mybatisplus.annotation.*;
import com.label.Model.Common.Validation.Del;
import com.label.Model.Common.Validation.Get;
import com.label.Model.Common.Validation.Update;
import com.label.Model.Do.PersonsCard;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;


@Data
public class PersonsQuery {

	@NotNull(message = "id不应为空",groups = {Update.class, Del.class, Get.class})
	private Long id;

	private String name;

	private String author;

	private String param;   //筛选条件

	private String attr;    //sql

	private Date createTime;

	private Date updateTime;

	private String state;	//删除标志

    private String count;

    private String run_finish_state;  //0-不可计算，1-未计算，2-计算中，3-计算完成

    private String run_state;

    private String auth;

    private String theme;

    private String originaljson;

	private List<PersonsCard> cards;

}
